import jakarta.annotation.Resource;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import vote.App;
import vote.ai.factory.CorrectionFactory;
import vote.config.VoteConfigProperties;

/**
 * Description:
 * Author:han
 * Date: 2024-05-21
 */
@RunWith(SpringRunner.class)
@SpringBootTest( classes = App.class)
public class test {
    @Autowired
    private VoteConfigProperties voteConfigProperties;
    @Resource
    private CorrectionFactory correctionFactory;
    @Test
   public void CorrectionTest(){
        correctionFactory.correctionTask();
    }
}
